<template>
  <NstdDialog v-bind="attrs">
    <template #header v-if="slots.header">
      <slot name="header"></slot>
    </template>
    <slot></slot>
    <template #footer v-if="slots.footer">
      <slot name="footer"></slot>
    </template>
  </NstdDialog>
</template>

<script setup>
  const attrs = useAttrs();
  const slots = useSlots();
</script>

<style lang="scss" scoped></style>
